﻿<Window x:Class="GAMandelkowMetroChartsTestApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525"
        DataContext="{Binding Main, Source={StaticResource Locator}}"
        xmlns:GAChart ="clr-namespace:GravityAppsMandelkowMetroCharts;assembly=GravityAppsMandelkowMetroCharts"
        >
    <Grid>
        <GAChart:GAScatterChart
            Width="400" Height="300"
            DataContext="{Binding }"
            ChartTitle="my test title" 
            BorderThickness="1" 
            BorderBrush="Black"
            >
            <GAChart:GAScatterChart.Series >
                <GAChart:ChartSeries
                    SeriesTitle="{Binding scatterData.seriesDisplayName}"
                    DisplayMember="date"
                    ValueMember="amount"
                    ItemsSource="{Binding scatterData.Items}"
                    >
                </GAChart:ChartSeries>
                <GAChart:ChartSeries
                    SeriesTitle="{Binding scatterData1.seriesDisplayName}"
                    DisplayMember="date"
                    ValueMember="amount"
                    ItemsSource="{Binding scatterData1.Items}"
                    >
                </GAChart:ChartSeries>
            </GAChart:GAScatterChart.Series>
        </GAChart:GAScatterChart>
    </Grid>
</Window>

